package com.qihoo.finance.fake.module.threadpool.service.impl;


import com.qihoo.finance.fake.module.threadpool.dao.ThreadPoolInfoDao;
import com.qihoo.finance.fake.module.threadpool.entity.ThreadPoolInfoEntity;
import com.qihoo.finance.fake.module.threadpool.service.ThreadService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by Jeking on 16/4/2.
 */
@Service
public class ThreadServiceImpl implements ThreadService {

    @Resource
    private ThreadPoolInfoDao threadPoolInfoDao;

    @Override
    public List<ThreadPoolInfoEntity> getThreadPoolInfoList(String module) {
        return threadPoolInfoDao.queryThreadPoolInfoList(module);
    }

}
